@charset "utf-8";

*{
    padding: 0;
    margin: 0;
}

.box{
    width: 300px;
    height: 150px;
    overflow: hidden;
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.contain{
    animation: img1 6s ease-in-out infinite alternate;
    width: 1200px;
    height: 150px;
}

img{
    float: left;
}

@keyframes img1 {
    0%{
        transform: translate(0px);

    }
    33%{
        transform: translate(-300px);
    }
    66%{
        transform: translate(-600px);
    }
    100%{
        transform: translate(-900px);
    }

}

span{
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #008bbf;
    color: white;
    text-align: center;
    line-height: 30px;
    float: left;
    margin: 0 6px;
}

.box1{
    width: 168px;
    height: 30px;
    overflow: hidden;
    position: fixed;
    top:330px;
    left: 620px;
   /* overflow: hidden;*/
    /*background: #7d7d7d;*/
}
span:nth-of-type(1){
    animation: s1 6s ease  infinite alternate;
}

span:nth-of-type(2){
    animation: s2 6s ease  infinite alternate;
}

span:nth-of-type(3){
    animation: s3 6s ease  infinite alternate;
}

span:nth-of-type(4){
    animation: s4 6s ease   infinite alternate;
}

@keyframes s1 {
    from{
        color: #008bbf;
        background: white;
    }
}

@keyframes s2 {
    33%{
        color: #008bbf;
        background: white;
    }
}

@keyframes s3 {
    66%{
        color: #008bbf;
        background: white;
    }
}

@keyframes s4 {
    100%{
        color: #008bbf;
        background: white;
    }
}
